package com.yxw.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HelloController {

    @RequestMapping("/hello")
    public String hhh(){
        System.out.println("哈哈哈哈");
        return "success";
    }

    @RequestMapping("/")
    public String index(){
        System.out.println("哈哈哈哈");
        return "index";
    }
}
